package com.entity;

import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

/**
 * ClassName: CommentTree
 * Description:
 *
 * @author L_Z_R
 * @version 1.0
 * @create 2025/05/21 19:27
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class CommentTree extends PostComment{
    private int level;//评论层级
    private String path;//评论路径
    private List<CommentTree> children;//子评论
    private String userNickname; //用户名
    private String userAvatar;   //用户头像地址
    private Integer likeCount; //评论的点赞数
}
